import axios from '@/libs/api.request'

/* 手动选择列表 */
export const manualList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcunlock/manualList',
    data: data,
    type: 'post'
  })
}

/* 手动选择确定还有点击在线预约把id带过去，要里面的温馨提示 */
export const getmanualIndex = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcunlock/getmanualIndex',
    data: data,
    type: 'post'
  })
}

/* 地址模糊查询 */
export const shuoList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcunlock/shuoList',
    data: data,
    type: 'post'
  })
}

/* 输入经纬度获取当前位置 */
export const selectweizhi = () => {
  return axios.request({
    url: 'http://api.map.baidu.com/reverse_geocoding/v3/?ak=OTkShjhBPkGgTb8gGfk5l73D&output=json&coordtype=wgs84ll&location=31.225696563611,121.49884033194',
    type: 'get'
  })
}
